/*
** Created by Gahon Alexis
*/

#ifndef BACKGROUND_H
#define BACKGROUND_H

#include <Header.hh>
#include <DrawableGameComponent.hh>

class Background : public DrawableGameComponent
{
    public:
        Background(Window &);
        virtual ~Background();
        virtual void    Initialize(sf::Sprite &background,sf::Vector2f &speed);
        void            LoadContent(void);
        void            UnloadContent(void);
        virtual void    Draw(Time);
        virtual void    Update(Time);

    private:
        sf::Vector2f    _Speed;
        sf::Sprite      _Sprite1;
        sf::Sprite      _Sprite2;
        Time            _Timer;

        Window          &_Window;
};

#endif // BACKGROUND_H
